package com.cskaoyan.module.bean.statisticalreportsVO;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class AdminStatGoodsVO {

    @JsonProperty("columns")
    private String[] columns;
    @JsonProperty("rows")
    private List<RowsDTO> rows;

    @NoArgsConstructor
    @Data
    public static class RowsDTO {
        @JsonProperty("amount")
        private Double amount;
        @JsonProperty("orders")
        private Integer orders;
        @JsonProperty("day")
        private String day;
        @JsonProperty("products")
        private Integer products;
    }
}
